<?php  
class ControllerModuleCustom extends Controller {
	protected function index($setting) {
		$this->data['content'] = v5_html_entity_decode($setting['description'][C('config_language_id')]);
		$this->data['params'] = isset($setting['params']) ? $setting['params'] : '';
		$this->render('module/' . (!empty($setting['template']) ? $setting['template'] : 'custom.tpl'));
	}
}
?>